package dao;

import java.util.List;
import java.util.Map;

import entity.Role;

public interface RoleDao {
	List<Role> findAll();
	Role findById(Integer id);
	int add(Role role);
	int delete(Role role);
	int update(Role role);
	List<Role> findByParam(Map map);
	List<Role> findByPage(Map map);
	Integer count();

}
